package com.lagou.edu.context.controller;

import com.lagou.edu.context.service.IServiceA;
import com.lagou.edu.context.stereotype.AutoWired;
import com.lagou.edu.context.stereotype.Controller;

/**
 * @Author zhaozuowen
 * @Description
 * @Date 2020/1/7 18:29
 **/

@Controller
public class ControllerA {

    @AutoWired
    private IServiceA serviceA;

    public void methodA(){
        System.out.println("ControllerA A");
        serviceA.methodA();
    }

}
